<!-- 已通过 -->
<template>
    <div class="page-box h100 display-flex czbj">
      <p class="title-label mb10">已通过</p>
      <dxtable
        :dataJson="dataJson"
        :portUrl="portUrl"
        :formJson="formJson"
        :hidebj="true"
        :qx="qx"
        ref="databale"
      ></dxtable>
    </div>
  </template>
  <script lang="ts" setup>
  import dxtable from "../../components/util/dxtable.vue";
  import sort from "../../components/util/sort.vue";
  import { dxget, dxpost } from "../../util/index";
  import { NButton, NImage, NTag } from "naive-ui";
  import { h, ref, reactive, render } from "vue";
  const databale = ref();
  const showModal = ref(false);
  const rowData = ref({})
  const shhehsdrt = ref();
  const hjshsd = ref()
  const jhdfdgg =async()=>{
  const {data}:any = await dxget("jyc/api/tixinasfr",{stat:3})
  let jsdfsdf = data
  if(data==null){
    jsdfsdf = 0
  }
  dataJson[1].title = '申请金额('+jsdfsdf+')'
}
jhdfdgg()
  const initeer = () => {
    databale.value.initDataExpose();
  };
  const shjjseft = ref("1");
  const songs = [
    {
      label: "审核中",
      value: "1",
    },
    {
      label: "通过",
      value: "2",
    },
    {
      label: "驳回",
      value: "3",
    },
  ];
  let dataJson = [
    {
      title: "申请人",
      key: "userName",
      width: 120,
    },
    {
      title: "申请金额",
      key: "jiner",
    },
    {
      title: "电话",
      key: "phone",
    },
    {
      title: "身份证号码",
      key: "idCard",
    },
    {
      title: "提现卡号",
      key: "shoukuanzh",
    },
    {
      title: "申请时间",
      key: "addTime",
      width: 150,
    },{
      title: "审核时间",
      key: "shsj",
      width: 150,
    },{
      title: "驳回原因",
      key: "beizhu",
      render(row){
        return h("span",{class:"red"},row.beizhu)
      }
    },
  ];
  
  const qx = {
    DeletePermissionID: "234567", //删除
    EditPermissionIdentifier: "234567", // 编辑
    NewPermissionIdentifier: "234567", // 新建
    ViewPermissionID: "234567", // 查看
  };
  const portUrl = "jyc/tixianjl/tixianjl?stat=3";
  
  let formJson = reactive([]);
  </script>
  <style scoped></style>
  <style>
  .dfdsrtyrytyt {
    width: 400px;
  }
  </style>
  